package band.wukong.practice.springcloud.quickstart.qk03;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.feign.EnableFeignClients;

/**
 * @author wukong(wukonggg@139.com)
 */
@EnableFeignClients     // 开启Feign的功能
@EnableDiscoveryClient  // 通过@EnableDiscoveryClient向服务中心注册
@SpringBootApplication
public class Qk03FeignApplication {

    public static void main(String[] args) {
        SpringApplication.run(Qk03FeignApplication.class, args);
    }
}
